home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / biz / dopus / RandomPattern.lha / RandomPattern.readme < prev   
Text File  |  1999-02-07  |  1KB  |  42 lines

  1. Short:    Random Backdrops Picture with DirOpus !
  2. Author:   gene@stardate.westfalen.de(sebastian eichholz)
  3. Uploader: gene@stardate.westfalen.de(sebastian eichholz)
  4. Type:     biz/dopus
  5.  
  6.  
  7. Insert this (shell-only) command into your startup-sequence
  8. and enjoy the random backdrop-picture :-)
  9. It selects a random file from a given directory and simply
  10. copies it to the given destination-file (your backdrop-pic).
  11.  
  12. In fact, you can use this command for the original Workbench
  13. as well (if you do not prefer DirOpus).
  14.  
  15. Usage:
  16.  
  17. RandomPattern {source-dir} {target-file}
  18.  
  19.  
  20. source-dir:  A directory where you have stored all possible
  21.              pictures, e.g. "iff:backdrops/"
  22.  
  23. target-file: THE file you have selected in DirOpus (or WBpattern)
  24.              as your backdrop picture, e.g. "Dopus5:backdrop.pic"
  25.  
  26. My startup-sequence contains this line:
  27.  
  28. random.exe iff:backgrounds/ dopus5:g_background.jpg
  29.  
  30. (well, in real it is in the user-startup, you can place it in your
  31. startup-sequence OR the user-startup)
  32.  
  33.  
  34. The programm was written with BlitzBasic in a couple of minutes...
  35.  
  36.  
  37. Please write any bugs (are there any in this really SHORT program?)
  38. or suggestions to me.
  39.  
  40. Have Fun!
  41.  
  42.